projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37a9ab8
)
(mac_color_map): Make static const.
author
YAMAMOTO Mitsuharu
<mituharu@math.s.chiba-u.ac.jp>
Tue, 31 Oct 2006 08:31:50 +0000
(08:31 +0000)
committer
YAMAMOTO Mitsuharu
<mituharu@math.s.chiba-u.ac.jp>
Tue, 31 Oct 2006 08:31:50 +0000
(08:31 +0000)
(mac_color_map_lookup): Add const qualifier to arguments.
src/macfns.c
patch
|
blob
|
history
diff --git
a/src/macfns.c
b/src/macfns.c
index 1b3a7223b63d8ce295cc46085ee3f20c4b76a059..9cb9e3e04966632730f14562ad2238610895e474 100644
(file)
--- a/
src/macfns.c
+++ b/
src/macfns.c
@@
-251,7
+251,7
@@
typedef struct colormap_t
char *name;
} colormap_t;
-colormap_t mac_color_map[] =
+
static const
colormap_t mac_color_map[] =
{
{ RGB_TO_ULONG(255, 250, 250), "snow" },
{ RGB_TO_ULONG(248, 248, 255), "ghost white" },
@@
-1009,7
+1009,7
@@
colormap_t mac_color_map[] =
Lisp_Object
mac_color_map_lookup (colorname)
- char *colorname;
+ c
onst c
har *colorname;
{
Lisp_Object ret = Qnil;
int i;